\documentclass[11pt]{article}
\usepackage[top=1in, bottom=1in, left=0.75in, right=0.75in]{geometry}

\usepackage{rotating}
\usepackage{pdfpages}

\usepackage{xcolor,soul}

\usepackage{float}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{epsfig}
\usepackage{subcaption}
\usepackage{caption}
\usepackage{adjustbox}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{makecell}
\usepackage{dcolumn} % decimal alignment
\newcolumntype{d}[1]{D{.}{.}{#1}}

\usepackage[hyperfootnotes=false, bookmarks=true, pdfpagemode=UseNone]{hyperref}

\hypersetup{
	colorlinks=true, % false: boxed links; true: colored links
	linkcolor=black, % color of internal links
	citecolor=black, % color of links to bibliography
	filecolor=blue, % color of file links
	urlcolor=blue % color of external links
}

\usepackage{array,multirow}
\usepackage{enumitem}

\usepackage[bottom]{footmisc}
\setlength{\footnotemargin}{2.5mm}
\setlength{\footnotesep}{\baselineskip}

% Customize header and footer
\usepackage{fancyhdr}

% Code for setting page numbers position
\pagestyle{fancy}

% Clear the header and footer
\fancyhead{}
\fancyfoot{} % uncomment if plan to use \fancyfoot[R]{\thepage}
% Set the right side of the footer to be the page number
\fancyfoot[R]{\thepage} % L=left, R=right, C=center
\renewcommand{\headrulewidth}{0pt} % Remove header horizontal line 
\renewcommand{\footruleskip}{0pt}

% Spacing options (for squeezing space when needed)
\usepackage[small]{titlesec}
\titlespacing{\section}{0pt}{2ex}{1ex}
\titlespacing{\subsection}{0pt}{1ex}{1ex}
\titlespacing{\subsubsection}{0pt}{0.5ex}{0ex}
\titlespacing{\paragraph}{0pt}{0.5ex}{0.5ex}

\setlength{\parskip}{6pt} % Spacing between paragraphs

\begin{document}

\tableofcontents

\pagebreak

\listoftables
\listoffigures

\pagebreak

\section{Main Text - Tables}

\subsection{Table 1: Covariate Balance}

\input{tab/covariate-balance.tex}


\bigskip


\subsection{Table 2: Main Results}

\input{tab/main-results.tex}

\pagebreak


\section{Main Text - Figures}

\subsection{Figure 1: Google Trends Search Activity}

\begin{figure}[H]
	\centering
	\captionsetup{labelformat=empty}	
	\caption{\centering Figure 1: Google Trends Search Activity}
	\label{fig:gtrends}
	\makebox[\textwidth][c]{
		\includegraphics[width = 1\textwidth, trim={0 0 0 1.3cm},clip]{fig/google-trends-judicial-council.pdf}
	}
\end{figure}


\bigskip


\subsection{Figure 2: Distribution of Respondents during the 2013 Latinobar\'{o}metro Survey}

\begin{figure}[H]
	\centering
	\captionsetup{labelformat=empty}
	\caption{\centering Figure 2: Distribution of Respondents during the 2013 Latinobar\'{o}metro Survey}
	\label{fig:timeline}
	\includegraphics[scale = 0.7]{fig/distribution-respondents.pdf}
\end{figure}

\bigskip

\subsection{Figure 3: Trust in the Judiciary}

\begin{figure}[H]
	\centering
	\captionsetup{labelformat=empty}
	\caption{\centering Figure 3: Trust in the Judiciary}
	\label{fig:outcome}
	\includegraphics[scale=0.60]{fig/outcome-distributions.pdf}
\end{figure}

\bigskip

\subsection{Figure 4: Heterogeneous Effects of the Court Rulings}

\begin{figure}[H]
	\centering
	\captionsetup{labelformat=empty}
	\caption{\centering Figure 4: Heterogeneous Effects of the Court Rulings}
	\label{fig:main}
		\includegraphics[scale=1]{fig/heterogeneous-court-ruling-effects.pdf} 
\end{figure}

\bigskip

\subsection{Figure 5: Placebo Tests}

\begin{figure}[H]
	\centering
	\caption{Placebo Tests}
	\label{fig:placebo}
	\includegraphics[width=0.95\textwidth]{fig/placebo-plots.pdf}
\end{figure}

\bigskip

\subsection{Figure 6: Supreme Court Ruling Effect by Newspaper Frequency and Political Interest}

\begin{figure}[H]
	\centering
	\captionsetup{labelformat=empty}
	\caption{\centering Figure 6: Supreme Court Ruling Effect by Newspaper Frequency and Political Interest}
	\label{fig:moderators}
	\makebox[\textwidth][c]{%
		\includegraphics[scale=0.8]{fig/newspaper-polint-moderator.pdf}
	}
		
\end{figure}

\pagebreak

\section{Appendix - Tables}

\subsection{Table C1.1: Main Results (Full Regression Table)}

\input{tab/main-results-full.tex}

\bigskip

\subsection{Table C2.1: Extended Set of Covariates}

\input{tab/extended-covariates.tex}

\bigskip

\subsection{Table F1.1: Binary Outcome (Logit)}

\input{tab/logit.tex}

\bigskip

\subsection{Table F1.2: Ordinal Outcome (Ordered Probit)}

\input{tab/ordered-probit.tex}

\bigskip

\subsection{Table F2.1: (Cluster) Bootstrap Standard Errors by City and Date}

\input{tab/cluster-bootstrap-se.tex}


\bigskip

\subsection{Table F2.2: Standard Errors Clustered Only by City}

\input{tab/city-se.tex}

\bigskip

\subsection{Table F2.3: Standard Errors Clustered Only by Date}

\input{tab/date-se.tex}

\bigskip

\subsection{Table F2.2: Standard Errors Clustered Only by City}

\input{tab/scaled.tex}

\bigskip

\subsection{Table F3.1: City Fixed Effects}

\input{tab/city-fixed-effects.tex}

\bigskip

\subsection{Table F4.1: Removing Respondents Interviewed on June 11th and June 18th}

\input{tab/removing-11-18.tex}

\bigskip

\subsection{Table F5.1: Only Cities with Respondents in All Conditions}

\input{tab/cities-all-conditions.tex}

\bigskip

\subsection{Table F6.1: Only Cities with Respondents in All Conditions by Court Model}

\input{tab/cities-all-conditions-by-court.tex}

\bigskip

\subsection{Table G1.1: Time Trends in Control Group Subsample}

\input{tab/control-time-trends.tex}

\bigskip

\subsection{Table G1.2: Time Trends}

\input{tab/time-trends.tex}

\bigskip

\subsection{Table G3.1: Sensitivity Analysis (Cinelli and Hazlett 2020)}

\input{tab/sensemakr-results.tex}

\bigskip

\subsection{Table G3.2: Sensitivity Analysis (Narvaiz et al. 2024)}

\input{tab/konfound-results.tex}

\bigskip

\subsection{Table H1.1: Results including Nonpartisans}

\input{tab/results-nonpartisans.tex}



\bigskip

\subsection{Table I1.1: Correlation Tests}

\input{tab/correlation-newspaper.tex}

\bigskip

\subsection{Table J2.1: Country and Pooled Correlations between Trust Items}

\input{tab/cor-judiciary-individual-courts-all-raw.tex}

\bigskip


\subsection{Table J2.1: Country and Pooled Correlations between Trust Items}

\input{tab/reg-broader-specific-institutions.tex}



\pagebreak


\section{Appendix - Figures}


\subsection{Figure B1.1: V-Dem Indicators}

\begin{figure}[H]
	\captionsetup{labelformat=empty}
	\caption{\centering Figure B1.1: V-Dem Indicators}
	\label{fig:vdem} 
	\centering
	\vspace{-0.40cm}
	\begin{subfigure}[t]{0.48\textwidth}
		\includegraphics[scale = 0.7]{fig/v-dem-hc-independence-TS.pdf} 
	\end{subfigure}
	\hfill
	\begin{subfigure}[t]{0.48\textwidth}
		\centering
		\includegraphics[scale = 0.7]{fig/v-dem-lc-independence-TS.pdf} 
	\end{subfigure}
	
	\vspace{-0.25cm}
	
	\begin{subfigure}[t]{0.48\textwidth}
		\centering
		\includegraphics[scale = 0.7]{fig/v-dem-hc-compliance-TS.pdf} 
	\end{subfigure}
	\hfill
	\begin{subfigure}[t]{0.48\textwidth}
		\centering
		\includegraphics[scale = 0.7]{fig/v-dem-compliance-jud-TS.pdf} 
	\end{subfigure} 
	
	\vspace{-0.25cm}
	
	\begin{subfigure}[t]{0.48\textwidth}
		\centering
		\includegraphics[scale = 0.7]{fig/v-dem-libdem-TS.pdf} 
	\end{subfigure}
	\hfill
	\begin{subfigure}[t]{0.48\textwidth}
		\centering
		\includegraphics[scale = 0.7]{fig/v-dem-purge-TS.pdf} 
	\end{subfigure} 
\end{figure}


\subsection{Figure B1.2: Trust in the Judiciary (Latinobar\'ometro)}

\begin{figure}[H]
	\captionsetup{labelformat=empty}
	\caption{\centering Trust in the Judiciary (Latinobar\'ometro)}
	\label{fig:latinobarometro} 
	\centering
	\vspace{-0.40cm}
	\begin{subfigure}[t]{1\textwidth}
		\centering
		\includegraphics[scale = 0.65]{fig/latinobar-trust-95-2023.pdf} 
	\end{subfigure}
	
	\begin{subfigure}[t]{1\textwidth}
		\centering
		\includegraphics[scale = 0.65]{fig/latinobar-trust-2013.pdf} 
	\end{subfigure} 
\end{figure}


\subsection{Figure B4.1: Google Trends Search Activity}

\begin{figure}[H]
	\centering
	\captionsetup{labelformat=empty}
	\caption{Figure B4.1: Google Trends Search Activity}
	\vspace{-0.25cm}
	\label{fig:gtrends-appendix}
	\makebox[\textwidth][c]{
		\includegraphics
		[scale = 0.75, trim={0 1.2cm 0 1.5cm},clip]
		{fig/google-trends-appendix.pdf}
	}
\end{figure}

\pagebreak

\subsection{Figure D1.1: Supreme Court Ruling Effect by Respondents' Partisanship Strength}

\begin{figure}[H]
	\centering
	\captionsetup{labelformat=empty}
	\caption*{\centering Figure D1.1: Supreme Court Ruling Effect by Respondents' Partisanship Strength}
	\label{fig:strongsup}
		\includegraphics[scale=0.9]{fig/strong-supporters-moderator.pdf}
\end{figure}

\bigskip

\subsection{Figure D2.1: Supreme Court Ruling Effect by Newspaper Frequency and Political Interest (Binary Moderators)}
\vspace{-0.25cm}
\begin{figure}[H]
	\centering
	\captionsetup{labelformat=empty}
	\caption{\centering Figure D2.1: Supreme Court Ruling Effect by Newspaper Frequency and Political Interest (Binary Moderators)}
	\label{fig:newspaper-polint}
	\vspace{-0.25cm}
	\makebox[\textwidth][c]{%
		\includegraphics[scale=0.65]{fig/newspaper-polint-moderator-binary.pdf}
	}
	
\phantomsection
\label{fig:myfigure}
	
\end{figure}

\subsection{Figure H1.1: Heterogeneous Effects of the Court Rulings (including Nonpartisans)}

\begin{figure}[H]
	\centering
	\captionsetup{labelformat=empty}
	\caption{\centering Figure H1.1:  Heterogeneous Effects of the Court Rulings (including Nonpartisans)}
	\label{fig:nonpartisans}
	\makebox[\textwidth][c]{%
		\includegraphics[scale=1]{fig/nonpartisans.pdf}
	}
\end{figure}

\subsection{Figure I1.1: Correlation Plot}

\begin{figure}[H]
	\centering
	\captionsetup{labelformat=empty}
	\caption{\centering Figure I1.1: Correlation Plot}
	\label{fig:corr-newspaper}
	\vspace{-0.5cm}
	\makebox[\textwidth][c]{%
		\includegraphics[scale=1]{fig/newspaper-correlations.pdf} 
	}
\end{figure}


\subsection{Figure I2.1: Freedom of Expression and Press in Argentina}


\begin{figure}[H]
	\captionsetup{labelformat=empty}
	\caption{\centering Figure I2.1: Freedom of Expression and Press in Argentina}
	\label{fig:media-freedom} 
	\centering
	\begin{subfigure}[t]{0.48\textwidth}
		\includegraphics[scale = 0.7]{fig/v-dem-freedom-expression.pdf} 
	\end{subfigure}
	\hfill
	\begin{subfigure}[t]{0.48\textwidth}
		\centering
		\includegraphics[scale = 0.7]{fig/v-dem-print-media-perspectives.pdf} 
	\end{subfigure}
	
	\begin{subfigure}[t]{0.48\textwidth}
		\centering
		\includegraphics[scale = 0.7]{fig/v-dem-media-bias.pdf} 
	\end{subfigure}
	\hfill
	\begin{subfigure}[t]{0.48\textwidth}
		\centering
		\includegraphics[scale = 0.7]{fig/v-dem-media-critical.pdf} 
	\end{subfigure} 
	
	
	\begin{subfigure}[t]{0.48\textwidth}
		\centering
		\includegraphics[scale = 0.7]{fig/v-dem-media-self-censorship.pdf} 
	\end{subfigure}
	\hfill
	\begin{subfigure}[t]{0.48\textwidth}
		\centering
		\includegraphics[scale = 0.7]{fig/v-dem-gov-censor-efforts.pdf} 
	\end{subfigure} 
\end{figure}


\end{document}